﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8" />
    <title>学生列表</title>
    <!-- 负责人：于庆海. -->
    <script language="JavaScript" src="../../Comm/JScript.js" type="text/javascript" ></script>
    <script type="text/javascript" src="../../Scripts/bootstrap/js/jquery.min.js"></script>
    <script type="text/javascript" src="../../Scripts/bootstrap/js/bootstrap.min.js"></script>
    <script src="../../Scripts/QueryString.js" type="text/javascript"></script>
    <script src="../../Scripts/config.js" type="text/javascript"></script>
    <script src="../../Comm/Gener.js" type="text/javascript"></script>

     <base target="_self" /> 
    <link href="../../Comm/Style/Table0.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript" >

        //页面启动函数.
        $(function () {

            $("#Msg").html("正在加载,请稍后......");

            var handler = new HttpHandler("BP.WF.HttpHandler.WF_Admin_CCBPMDesigner");
            var data = handler.DoMethodReturnString("Flows_Init");

            if (data.indexOf('err@') == 0) {
                alert(data);
                return;
            }

            data = JSON.parse(data);

            //增加处理.
            for (var i = 0; i < data.length; i++) {

                var en = data[i];

                var newRow = "";

                newRow = "<tr ><td class=Idx>" + i + "</td>";
                newRow += "<td>" + en.FlowName + "</td>";
                newRow += "<td>" + en.NumOfRuning + "</td>";
                newRow += "<td>" + en.NumOfOK + "</td>";
                newRow += "<td>" + en.NumOfEtc + "</td>";

                newRow += "</tr>";

                $("#Table1 tr:last").after(newRow);
            }
        });

     </script>
</head>
<body onkeypress="Esc()" >
   <table style="width: 100%;" id="Table1">
        <caption>
            流程控制面板
        </caption>
        <tr>
            <th rowspan="2">
                流&nbsp;程
            </th>
            <th colspan="4">
                流程实例(状态)统计
            </th>
            <th colspan="3">
                耗时分析(单位:分钟)
            </th>
            <th colspan="3">
                考核状态分布（单位:个）
            </th>
        </tr>
        <tr>
            <th> 运行中 </th>
            <th> 已经完成 </th>
            <th>其他 </th>
            <th> 逾期 </th>


            <th> 最长</th>
            <th> 最短 </th>
            <th> 平均 </th>


            <th> 按时完成 </th>
            <th> 逾期完成</th>
            <th> 按期办结率</th>
        </tr>
           
    </table>

</body>
</html>
